<template>
  <div>
    <h4>基本情况</h4>
    <el-row type="flex" justify="space-between">
      <el-col :span="6">
        <div>
          <span>姓名： </span>
          <el-input v-model="pgForm.pjsgn_patien_name" style="width: 50%"></el-input>
        </div>
      </el-col>
      <el-col :span="6">
        <div>
          <span>性别： </span>
          <el-input v-model="pgForm.pjsgn_patien_gender" style="width: 50%"></el-input>
        </div>
      </el-col>
      <el-col :span="6">
        <div>
          <span>年龄： </span>
          <el-input v-model="pgForm.pjsgn_patien_age" style="width: 50%"></el-input>
        </div>
      </el-col>
      <el-col :span="6">
        <div>
          <span>科室： </span>
          <el-input v-model="pgForm.pjsgn_patient_dept" style="width: 50%"></el-input>
        </div>
      </el-col>
      <el-col :span="6">
        <div>
          <span>患者编号： </span>
          <el-input v-model="pgForm.pjsgn_patien_no" style="width: 50%"></el-input>
        </div>
      </el-col><el-col :span="6">
      <div>
        <span>诊断： </span>
        <el-input v-model="pgForm.pjsgn_patient_pre_diagnose" style="width: 50%"></el-input>
      </div>
    </el-col><el-col :span="6">
      <div>
        <span>评定日期： </span>
        <el-input v-model="pgForm.pjsgn_assess_create_time" style="width: 50%"></el-input>
      </div>
    </el-col><el-col :span="6">
      <div>
        <span>评定人： </span>
        <el-input v-model="pgForm.pjsgn_assess_user_name" style="width: 50%"></el-input>
      </div>
    </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "basic_situation",
  title: "基本情况",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm:{
        pjsgn_patien_name:'',
        pjsgn_patien_gender:'',
        pjsgn_patien_age:'',
        pjsgn_patient_dept:'',
        pjsgn_patien_no:'',
        pjsgn_patient_pre_diagnose:'',
        pjsgn_assess_create_time:'',
        pjsgn_assess_user_name:'',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
